<%@page import="management.system.model.bean.GrupoDTO"%>
<%@page import="java.util.ArrayList"%>
<%@page import="management.system.model.bean.PerfilDTO"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<LINK href="css/calendar-blue.css" type=text/css rel=stylesheet>
<SCRIPT src="js/calendar.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/calendar-es.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/calendar-setup.js" type=text/javascript></SCRIPT>

<title>Insert title here</title>
<script language="javascript">
	function enviar(){
		alert("<%=request.getContextPath()%>");
		document.forms[0].method="post";
		document.forms[0].action="<%=request.getContextPath()%>/usuario?metodo=LISTA";
		document.forms[0].submit();
	}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
	<table width="100%" border="1">
		<tr>
			<td colspan="2"><jsp:include page="pageHeader.jsp" /></td>
		</tr>
		<tr>
			<td width="190"><jsp:include page="menu.jsp" /></td>
			<td>
				<!-- Registro de usuarios -->
				<form method="post" action="<%=request.getContextPath()%>/perfil?metodo=INSERTA" enctype="multipart/form-data">
					<table>	
						<tr>
							<td>Nombre</td>
							<td><input type="text" name="txtNombre" ></td>
						</tr>
						<tr>
							<td>Nombre corto</td>
							<td><input type="text" name="txtNombreCorto" ></td>
						</tr>
						<tr>
							<td>Tipo</td>
							<td>
								<select name="cboTipo">
									<option value="1">Universidad</option>
									<option value="2">Instituto</option>
								</select>
							</td>
						</tr>
						<tr>
							<td>Imagen</td>
							<td><input type="file" name="fileImage" ></td>
						</tr>
						<tr>
							<td align="center">
								<input type="submit" value="Enviar">
								<input type="reset" value="Limpiar">
							</td>
						</tr>
					</table>
				</form>
			</td>
		</tr>
		<tr>
			<td colspan="2"><jsp:include page="footer.jsp" /></td>
		</tr>
	</table>
</body>
</html>